from django.shortcuts import render_to_response

from hierodaaro.models import Neighborhood

def overview(request, neighborhood_id):
    try:
        neighborhood = Neighborhood.objects.get(id=neighborhood_id)
    except Neighborhood.DoesNotExist:
        neighborhood = None

    context = {
       'neighborhood': neighborhood,
    }
    return render_to_response('neighborhood_overview.html', context)
